package com.openatc.agent.service.arterial.exception;

/**
 * @author ：panleilei
 * @description 不支持的干线协调策略
 * @modified By：
 * @version:
 * @date ：Created in 2024/1/23 15:10
 */
public class UnsupportedArterialTrafficControlException extends IllegalArgumentException {
    private String strategyName;

    /**
     * @param strategyName 不支持的策略名称
     */
    public UnsupportedArterialTrafficControlException(String strategyName) {
        super(String.valueOf(strategyName));
        this.strategyName = strategyName;
    }

    /**
     *
     * @return 不支持的策略名称
     */
    public String getStrategyName() {
        return strategyName;
    }
}
